package com.service;

import com.pojo.Page;
import com.pojo.Tour;

import java.util.List;

/**
 * @Author hjb
 * @Version 1.0
 * @Contact 1754729389@qq.com
 */
public interface TourService {

    public void addTour(Tour tour);

    public void deleteTourById(Integer id);

    public void updateTour(Tour tour);

    public Tour queryTourById(Integer id);

    public List<Tour> queryTours();

    public Page<Tour> page(int pageNo,int pageSize);

    public Page<Tour> pageByPrice(int pageNo, int pageSize, int min, int max);
}
